<?php /* Smarty version Smarty-3.0.7, created on 2012-08-29 09:57:51
         compiled from "E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot/template/templates\news/info.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2212503d771fdbaa91-92385398%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8b2a16f69a7eab2d9392b52f41fa91670ea2f0fe' => 
    array (
      0 => 'E:\\Project\\Company\\dus\\shipinall.cn\\Subversion\\wwwroot/template/templates\\news/info.tpl',
      1 => 1346205320,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2212503d771fdbaa91-92385398',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_escape')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.escape.php';
if (!is_callable('smarty_modifier_truncate')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.truncate.php';
if (!is_callable('smarty_modifier_date_format')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.date_format.php';
?><?php $_smarty_tpl->tpl_vars["Meta_News_Keywords"] = new Smarty_variable(implode(",",$_smarty_tpl->getVariable('News_Keywords')->value), null, null);?>
<?php if ($_smarty_tpl->getVariable('News')->value['Summary']==null){?>
	<?php $_smarty_tpl->tpl_vars["Tmp"] = new Smarty_variable(explode("。",$_smarty_tpl->getVariable('News')->value['Content']), null, null);?>
    <?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->getVariable('Tmp')->value[0]), null, null);?>
    <?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable(trim($_smarty_tpl->getVariable('Meta_News_Description')->value), null, null);?>  
    <?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable(trim($_smarty_tpl->getVariable('Meta_News_Description')->value,"　"), null, null);?>
    <?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable(trim($_smarty_tpl->getVariable('Meta_News_Description')->value,"&nbsp;"), null, null);?>
    <?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable(trim($_smarty_tpl->getVariable('Meta_News_Description')->value," "), null, null);?>
    <?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable(($_smarty_tpl->getVariable('Meta_News_Description')->value)."。", null, null);?>
<?php }else{ ?>
	<?php $_smarty_tpl->tpl_vars["Meta_News_Description"] = new Smarty_variable($_smarty_tpl->getVariable('News')->value['Summary'], null, null);?>
<?php }?>
<?php $_smarty_tpl->tpl_vars["News_Summary"] = new Smarty_variable($_smarty_tpl->getVariable('Meta_News_Description')->value, null, null);?>
<!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    
    <meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('Meta_News_Keywords')->value;?>
" />
    <meta name="description" content="<?php echo $_smarty_tpl->getVariable('Meta_News_Description')->value;?>
"/>
    <meta name="Author" content="中国船舶配套网|中国航运信息|www.shipinall.cn">    
    <title><?php echo $_smarty_tpl->getVariable('News')->value['Title'];?>
_<?php echo $_smarty_tpl->getVariable('News')->value['ClassName'];?>
_资讯频道_中国船舶配套网</title>   
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <link type="text/css" href="/styles/public.css" rel="stylesheet" />
    <link type="text/css" href="/styles/news.css" rel="stylesheet" />
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
</head>

<body>
    <div id="bg_all">
        <!--#include virtual="/template.inset/public.header.shtml"-->


        <div class="pt10"></div>


        <?php $_template = new Smarty_Internal_Template("news/public.menu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>

<div class="ie78"></div>
        <div class="wrcp clear">
            <div class="shipwith">
            
            
                <div class="kd"><b><img src="/images/blue_arrow_ico.gif" alt=""></b>
                    <h2 class="blue036">
                    	<a href="http://news.shipinall.cn" target="_self">资讯频道</a> >> <span>
                        <a href="http://news.shipinall.cn/class/<?php echo $_smarty_tpl->getVariable('News')->value['ClassID'];?>
.html" target="_self"><?php echo $_smarty_tpl->getVariable('News')->value['ClassName'];?>
</a>
                        <?php if ($_smarty_tpl->getVariable('News')->value['SubclassName']!=null){?>
                        	>> <a href="http://news.shipinall.cn/subclass/<?php echo $_smarty_tpl->getVariable('News')->value['SubclassID'];?>
.html" target="_self"><?php echo $_smarty_tpl->getVariable('News')->value['SubclassName'];?>
</a>
                        <?php }?>
                        </span></span>
                    </h2>
                </div>
                
                
                <div class="ship_w_list" >
                
                
                    <h1 class="blue036" ><?php echo $_smarty_tpl->getVariable('News')->value['Title'];?>
</h1>
                    <h3 style="clear:both;" align="center"><span class="pt15"><?php echo $_smarty_tpl->getVariable('News')->value['Datetime'];?>
</span><span class="pt15 ml10">来自：<?php echo $_smarty_tpl->getVariable('News')->value['Origin'];?>
</span></h3>
                 <DIV class=bshare-custom  sizset="0" sizcache08344890258893043="0" style="padding-top:10px; font-size:12px">分享到&nbsp;<A class=bshare-qzone title=分享到QQ空间 href="javascript:void(0);">QQ空间</A><A class=bshare-sinaminiblog title=分享到新浪微博 href="javascript:void(0);">新浪微博</A><A class=bshare-renren title=分享到人人网 href="javascript:void(0);">人人网</A><A class=bshare-qqmb title=分享到腾讯微博 href="javascript:void(0);">腾讯微博</A><A class=bshare-douban title=分享到豆瓣 href="javascript:void(0);">豆瓣</A><A class="bshare-more bshare-more-icon more-style-addthis" title=更多平台></A></DIV>
<SCRIPT type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=1&amp;lang=zh"></SCRIPT>

<SCRIPT type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></SCRIPT>
                  <br>   
				<?php if ($_smarty_tpl->getVariable('News')->value['ClassID']!=$_smarty_tpl->getVariable('NewsClass_Type_ID')->value){?>								                  
                   <div style="background-color:#EEEEEE; padding:15px; border:solid #CCCCCC 1px;"><strong>核心提示：</strong><?php echo $_smarty_tpl->getVariable('Meta_News_Description')->value;?>
</div><br>
				<?php }?>                   

                  <?php if ($_smarty_tpl->getVariable('News')->value['Thumbnail']!=null){?>
                    <br>                    
                   
                    <div align="center"  style="text-align:left">
                    	<img src="<?php echo $_smarty_tpl->getVariable('News')->value['Thumbnail'];?>
" align="center" width="450" />
                    </div>
                    <br>
					<?php }?>
                    <?php echo $_smarty_tpl->getVariable('News')->value['Content'];?>
  
                     <div class="tagn-list f12"  >
                    	<span style=" font-size:12px"><strong>新闻标签：</strong></span>          
                        <?php  $_smarty_tpl->tpl_vars["Value"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('News_Keywords')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Value"]->key => $_smarty_tpl->tpl_vars["Value"]->value){
?>
                            <a href="http://news.shipinall.cn/keywords/<?php echo smarty_modifier_escape($_smarty_tpl->getVariable('Value')->value,"url");?>
.html" target="_blank"><?php echo $_smarty_tpl->getVariable('Value')->value;?>
</a>
                        <?php }} ?>
                    </div>
                        <div style="clear:both"></div>              											                                        
                    <p>
                    	<?php if ($_smarty_tpl->getVariable('News')->value['IsHaveNext']=="TRUE"){?>
                        	上一篇：<a href="http://news.shipinall.cn/<?php echo $_smarty_tpl->getVariable('News')->value['Next_ID'];?>
.html" title="<?php echo $_smarty_tpl->getVariable('News')->value['Next_Title'];?>
" target="_self"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('News')->value['Next_Title'],17,"..");?>
</a>
                        <?php }?>
                        <?php if ($_smarty_tpl->getVariable('News')->value['IsHavePrevious']=="TRUE"){?>
	                        下一篇：<a href="http://news.shipinall.cn/<?php echo $_smarty_tpl->getVariable('News')->value['Previous_ID'];?>
.html" title="<?php echo $_smarty_tpl->getVariable('News')->value['Next_Title'];?>
" target="_self"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('News')->value['Previous_Title'],17,"..");?>
</a>
						<?php }?>                            
                    </p>
                    <hr>
                    
                    
                    <div class="mt10">&gt;&gt;
                    	<strong>相关报道：</strong><br /> 
                        	<?php if ($_smarty_tpl->getVariable('News_Related_Hand')->value!=null){?>
                                <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('News_Related_Hand')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>                        
                                <span class="blue39f ml20">
                                    <a href="<?php echo $_smarty_tpl->getVariable('Row')->value['Link'];?>
" target="_blank"><?php echo $_smarty_tpl->getVariable('Row')->value['Title'];?>
</a> 
                                    
                               
                                </span>
                                
                              
                                <br/>
                                <?php }} ?>       
							<?php }else{ ?>                                	                                                    	
                                <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('News_Related')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>                        
                                <span class="blue39f ml20">
    
                                    <a href="http://news.shipinall.cn/<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
.html" target="_blank" title="<?php echo $_smarty_tpl->getVariable('Row')->value['Keywords'];?>
"><?php echo $_smarty_tpl->getVariable('Row')->value['Title'];?>
</a> (<?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%Y-%m-%d");?>
)
                                </span><br/>
                                <?php }} ?>
                            <?php }?>
                        <br />
                    </div>
                    
                    
                   
                    
                       
                    
                    
                    <!--#include virtual="/template.inset/news/statement.html"-->
                    
                    
                    <div style="margin-top:20px" ><a href="http://news.shipinall.cn" target="_self">&lt;返回资讯首页&gt;</a><span class="contri"><a href="#/exec.php?action=news_contribute" target="_blank"><img src="/images/news_contr_btn.gif" alt="" /></a></span></div>
                    
                  
                </div>
            </div>
				
                
			<?php $_template = new Smarty_Internal_Template("news/public.right.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
                
            <div class="r_ex" style="float:right; margin-right:3px; margin-top:10px">
                <div class="other_new mt10">
                    <div class="fd">
                        <h2>数据</h2>
                    </div>
                    <div class="shipbox_list">
                        <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('News_Data')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                            <li><a href="http://news.shipinall.cn/<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],20,"..");?>
</a></li>
                        <?php }} ?>
                    </div>
                </div>                
                
                
                <div class="other_new" style="margin-top:10px">
                    <div class="fd">
                        <h2>法规</h2>
                    </div>
                    <div class="shipbox_list">
                        <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('News_Law')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                            <li><a href="http://news.shipinall.cn/<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],20,"..");?>
</a></li>
                        <?php }} ?>
                    </div>
                </div> 
               </div>            
        </div>
		
        



        <!--#include virtual="/template.inset/public.footer.shtml"-->
    </div>
</body>
</html>